Trick to calculate contribution